﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TopArticle.ascx.cs" Inherits="control_TopArticle" %>
<div class="r_item">
    <div class="title">
        全站最新文章</div>
    <div class="info">
        <ul>
            <asp:Repeater ID="rptArticle" runat="server">
                <ItemTemplate>
                    <li><span>[<a href="/<%#(Eval("PSortUrlName").ToString() != string.Empty ? (Eval("PSortUrlName").ToString() + "/") : "") + Eval("SortUrlName").ToString()%>" title="<%#Eval("SortName")%>" target="_blank"><%#Server.HtmlEncode(Eval("SortName").ToString())%></a>]</span><a href="<%#Until.GetUrlName(Eval("PSortUrlName"),Eval("SortUrlName"),Eval("ID"))%>"  title="<%#Eval("Name")%>" target="_blank"><%#Server.HtmlEncode(Eval("Name").ToString())%></a></li>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
    </div>
</div>
